package com.zbb.exam_system.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.zbb.exam_system.entity.Modelpage;
import com.zbb.exam_system.mapper.ModelpageMapper;
import com.zbb.exam_system.service.ModelpageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zbbstart
 * @date 2021/2/8 - 20:21
 */
@Service
public class ModelpageServiceImpl implements ModelpageService {
    @Autowired
    private ModelpageMapper modelpageMapper;

    @Override
    public List<Modelpage> getAllModelpages() {
        return modelpageMapper.selectList(new QueryWrapper<Modelpage>());
    }
}
